Skip to content

feat: add suppressProactiveContent for pre-auth carousel/survey visibility#458

Merged
Rosie-Kennelly-1 merged 2 commits into
mainfrom
mapierce/proactive-content-release
Jul 16, 2026
Merged

feat: add suppressProactiveContent for pre-auth carousel/survey visibility#458
Rosie-Kennelly-1 merged 2 commits into
mainfrom
mapierce/proactive-content-release

Conversation

@mapierce

Copy link
Copy Markdown
Contributor

Why?

Apps embedding the Messenger need to suppress specific proactive content types — carousels and surveys — during their pre-authentication launch flow, so proactive content doesn't surface before a user is identified. This was validated via a prerelease build; this PR is the proper release.

How?

Bumps the bundled native SDKs to the releases that expose the API (iOS 19.7.0, Android 18.5.0) and wires suppressProactiveContent(types) from the JS API through to the native suppressProactiveContent on both platforms.

Generated with Claude Code

…ility

Adds Intercom.suppressProactiveContent(types) + a ProactiveContentType enum
(Carousel, Survey). Declarative semantics: the types passed are suppressed,
an empty array unsuppresses all. Bridges to the native suppressProactiveContent
on both platforms — iOS via [Intercom suppressProactiveContent:], Android via
Intercom.client().suppressProactiveContent(List<ContentType>).

Bumps the native SDK pins to the releases that expose the API (iOS 19.7.0,
Android 18.5.0) and the package to 10.4.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mapierce
mapierce force-pushed the mapierce/proactive-content-release branch from 4d07c2c to 2b5ee3f Compare July 15, 2026 15:58
DD-Intercom
DD-Intercom previously approved these changes Jul 16, 2026
@Rosie-Kennelly-1

Copy link
Copy Markdown
Contributor

Looks good to me too. One small thing, is that the README docs missing. Every other public method has a ### Intercom.methodName(...) section in README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Rosie-Kennelly-1
Rosie-Kennelly-1 merged commit be8e60d into main Jul 16, 2026
8 checks passed
@Rosie-Kennelly-1
Rosie-Kennelly-1 deleted the mapierce/proactive-content-release branch July 16, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants